package com.cade.agriculturemall.view.personalCenter;

import android.content.Context;
import android.support.v7.app.AppCompatDialog;

import com.cade.agriculturemall.R;
import com.cade.agriculturemall.base.IBaseView;

/**
 * Created by Lobby on 2017/12/19.
 */

public class SelectAddressDialog extends AppCompatDialog {
    private Context context;
    private IBaseView mView;
    //    添加layout_doctor_card布局的Dialog
    public SelectAddressDialog(Context context) {
        super(context, R.style.Dialog);
        init();

//        设置dialog可取消显示、设置点击内容以外的位置退出
        setCancelable(true);
        setCanceledOnTouchOutside(true);
        if (context instanceof IBaseView) {
            mView = (IBaseView) context;
        }
    }

    private void init() {
        setContentView(R.layout.layout_select_address);
    }
}
